home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSeeeettttWWWWMMMMPPPPrrrroooottttooooccccoooollllHHHHooooooookkkkssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_S_e_t_W_M_P_r_o_t_o_c_o_l_H_o_o_k_s - A VendorShell convenience interface
- that allows pre and post actions to be executed when a
- protocol message is received from the window manager
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- #include <Xm/Protocols.h>
-
- void XmSetWMProtocolHooks (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollll,,,, pppprrrreeeehhhhooooooookkkk,,,, pppprrrreeee____cccclllloooossssuuuurrrreeee,,,, ppppoooosssstttthhhhooooooookkkk,,,, ppppoooosssstttt____cccclllloooossssuuuurrrreeee)
- _W_i_d_g_e_t sssshhhheeeellllllll;
- _A_t_o_m pppprrrroooottttooooccccoooollll;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_cpppprrrreeeehhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r pppprrrreeee____cccclllloooossssuuuurrrreeee;
- _X_t_C_a_l_l_b_a_c_k_P_r_o_cppppoooosssstttthhhhooooooookkkk;
- _X_t_P_o_i_n_t_e_r ppppoooosssstttt____cccclllloooossssuuuurrrreeee;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_S_e_t_W_M_P_r_o_t_o_c_o_l_H_o_o_k_s is a convenience interface. It calls
- _X_m_S_e_t_P_r_o_t_o_c_o_l_H_o_o_k_s with the property value set to the atom
- returned by interning _W_M__P_R_O_T_O_C_O_L_S.
-
- sssshhhheeeellllllll
- Specifies the widget with which the protocol property
- is associated
-
- pppprrrroooottttooooccccoooollll
- Specifies the protocol atom (or an int cast to Atom)
-
- pppprrrreeeehhhhooooooookkkk
- Specifies the procedure to call before calling entries
- on the client callback-list
-
- pppprrrreeee____cccclllloooossssuuuurrrreeee
- Specifies the client data to be passed to the prehook
- when it is invoked
-
- ppppoooosssstttthhhhooooooookkkk
- Specifies the procedure to call after calling entries
- on the client callback-list
-
- ppppoooosssstttt____cccclllloooossssuuuurrrreeee
- Specifies the client data to be passed to the posthook
- when it is invoked
-
- For a complete definition of VendorShell and its associated
- resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_I_n_t_e_r_n_A_t_o_m(_3_X), and
- _X_m_S_e_t_P_r_o_t_o_c_o_l_H_o_o_k_s(_3_X).
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-